package top.chenyaohua.asm;

import java.util.List;

public class BeanMetadata {

    /**
     * 类名
     */
    private String className;

    /**
     * 类上的注解
     */
    private List<AnnotationMetadata> annotations;

    /**
     * 类中的属性
     */
    private List<FieldMetadata> fieldMetadata;

    /**
     * 类中的方法
     */
    private List<MethodMetadata> methodMetadata;

    public BeanMetadata () {
    }

    public BeanMetadata (String className) {
        this.className = className;
    }

    public String getClassName () {
        return className;
    }

    protected void setClassName (String className) {
        this.className = className;
    }

    public List<AnnotationMetadata> getAnnotations () {
        return annotations;
    }

    protected void setAnnotations (List<AnnotationMetadata> annotations) {
        this.annotations = annotations;
    }

    public List<FieldMetadata> getFieldMetadata () {
        return fieldMetadata;
    }

    protected void setFieldMetadata (List<FieldMetadata> fieldMetadata) {
        this.fieldMetadata = fieldMetadata;
    }

    public List<MethodMetadata> getMethodMetadata () {
        return methodMetadata;
    }

    protected void setMethodMetadata (List<MethodMetadata> methodMetadata) {
        this.methodMetadata = methodMetadata;
    }
}
